PDF4Java Reference Documentation
com.o2sol.pdf4java.core.io Package / Stream Class / seek Method
A byte offset relative to the origin parameter.
A value of type SeekOrigin indicating the reference point used to obtain the new position.
In This Topic
    seek Method
    In This Topic
    Sets the position within the current stream.
    Syntax
    public long seek( 
       long offset,
       SeekOrigin origin
    )

    Parameters

    offset
    A byte offset relative to the origin parameter.
    origin
    A value of type SeekOrigin indicating the reference point used to obtain the new position.

    Return Value

    The new position within the current stream.
    See Also